package springremoting;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
 * 客户端
 *
 * @author gao
 *
 *
 */
public class HelloWorldClient {
	HelloWorldService  rmiService;
	HelloWorldService  httpInvokerService;
	HelloWorldService  hessianService;
	HelloWorldService  burlapService;
	
	
	public static final Log logger = LogFactory.getLog(HelloWorldClient.class);
	
	public String getHelloWorld(){
		logger.info("============rmiService is invoke====================>"+rmiService.getHelloWorld());
		logger.info("============httpInvokerService is invoke====================>"+httpInvokerService.getHelloWorld());
		logger.info("============hessianService is invoke====================>"+hessianService.getHelloWorld());
		logger.info("============burlapService is invoke====================>"+burlapService.getHelloWorld());
		return "HelloWorld";
	}
	
	public HelloWorldService getRmiService() {
		return rmiService;
	}

	public void setRmiService(HelloWorldService rmiService) {
		this.rmiService = rmiService;
	}

	public HelloWorldService getHttpInvokerService() {
		return httpInvokerService;
	}

	public void setHttpInvokerService(HelloWorldService httpInvokerService) {
		this.httpInvokerService = httpInvokerService;
	}

	public HelloWorldService getHessianService() {
		return hessianService;
	}

	public void setHessianService(HelloWorldService hessianService) {
		this.hessianService = hessianService;
	}

	public HelloWorldService getBurlapService() {
		return burlapService;
	}

	public void setBurlapService(HelloWorldService burlapService) {
		this.burlapService = burlapService;
	}
	
	
	
	
}
